import junit.framework.TestCase;


public class Maratonatest extends TestCase {
	import java.util.ArrayList;

	import junit.framework.TestCase;
	import org.junit.After;
	import org.junit.Before;
	import org.junit.Test;

	public class MaratonaTest extends TestCase {

		@Before
		protected void setUp() throws Exception {
			super.setUp();
		}

		@After
		protected void tearDown() throws Exception {
			super.tearDown();
		}

		@Test
		public void testExecute() 
		{
			System.out.println("Processing testExecute method...");
			
			ArrayList<Integer> v = ArrayList<Integer>(); 
			v.add(0);
			v.add(1000);
			
			Maratona m = new Maratona(2,1000,v);
			
			double expvalue = "S";						// Expected return	
			double mvalue = m.execute();				// Real return
			
			assertEquals(expvalue, mvalue, 0);			// Assertion
		}
	}

}
